<template>
	<view>
		<header-safearea title="评价"></header-safearea>
		<view class="title">
			请评价本次的用餐体验！！！！！！
		</view>
		<van-rate></van-rate>
		<button type="primary" @click="handleMessage">确认评价</button>
	</view>
</template>

<script setup>
	const handleMessage = () => {
		uni.showToast({
			title: '评价成功, 3s进入首页'
		})
		setTimeout(() => {
			uni.switchTab({
				url: '/pages/home/home'
			})
		}, 3000)
	}
</script>

<style lang="scss">

</style>
